/**
 * 
 */
package org.cuatrovientos.collections;

/**
 * represents a hero
 * @author daniel_ancin
 *
 */
public class Hero {
	
	private String name;
	private int level;
	private String race;
	
	/**
	 * 
	 * @param name
	 * @param level
	 * @param race
	 */
	public Hero(String name, int level, String race) {
		super();
		this.name = name;
		this.level = level;
		this.race = race;
	}
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the level
	 */
	public int getLevel() {
		return level;
	}
	/**
	 * @param level the level to set
	 */
	public void setLevel(int level) {
		this.level = level;
	}
	/**
	 * @return the race
	 */
	public String getRace() {
		return race;
	}
	/**
	 * @param race the race to set
	 */
	public void setRace(String race) {
		this.race = race;
	}
	
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Hero [name=" + name + ", level=" + level + ", race=" + race
				+ "]";
	}
	
	

}
